package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 新闻分类表 Entity
 *
 * Created by jing.tan on 2018/5/21.
 */
@Entity
@Table(name = "new_class")
public class NewClassInfo extends BaseEntity {
	/*
	 `class_id` varchar(64) DEFAULT NULL COMMENT '分类id',
	  `name` varchar(64) DEFAULT NULL COMMENT '分类名称',
	  `source` varchar(64) DEFAULT NULL COMMENT '分类对应的来源(如：网易，今日头条)',
	  `alias` varchar(64) DEFAULT NULL COMMENT '分类别名(如：网易-热点',
	  `state` char(1) DEFAULT NULL COMMENT '状态',
	 */
	private static final long serialVersionUID = 1L;
	private String classId;			// 分类id
	private String name;			// 分类名称
	private String source;    	 	// 分类对应的来源
	private String alias;			// 分类别名
	private String state;			// 状态
	private String sort;			// 排序


	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
}